package com.bwie.service;

import com.bwie.pojo.TbVote;
import com.bwie.utils.R;
import com.bwie.vo.PageVo;
import freemarker.template.TemplateException;

import java.io.IOException;

/**
 * @Title:
 * @BelongProjecet zk2
 * @BelongPackage com.bwie.service
 * @Description:
 * @Copyright 研发一部
 * @Author: Mr.yan
 * @Date: 2024/6/4 8:53
 * @Version V1.0
 */
public interface VoteService {
    R addVoter(TbVote tbVote);

    R voteList(PageVo pageVo);

    R findByVote(Integer id, String token) throws TemplateException, IOException;

    R addRecords(Integer tbVote, String token);

}
